package com.myjoje.jpa;

import com.myjoje.bean.system.DeptBean;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Set;

public interface DeptJpa extends JpaRepository<DeptBean, String> {

    Long countByName(String name);

    List<DeptBean> findByIdIn(Set ids);

}
